#ifndef NEON_H
#define NEON_H
#include "objet3D.h"
#include "lumiere.h"
#include "scene.h"
#include <string.h>
struct coord3D {
  float x;
  float y;
  float z; } ;

struct coord2D {
  float x;
  float y; } ;

class Neon : public Objet3D
{
public:
Neon();
Neon (double radius);
~Neon();

inline void setRadius(double radius){_radius=radius;}
void irradiate();
void setLumiere( Lumiere * lumiere);
void setLumiere2 (Lumiere * lumiere);
void setMaterial2(Material*m);
void setMaterial3(Material*m);
void setPosition (const float x, const float y, const float z);
void setScene(Scene * s);
Lumiere* getLumiere();
Lumiere* getLumiere2();
protected:
void _draw();
Lumiere * _lumiere;// Lumiere directionnelle coloree
Lumiere * _lumiere2;// Lumiere de position plus blanche
Material * _mat2;
Material * _mat3;
Texture * _tex;
Texture * _tex2;
double _radius;
};

#endif
